POV-Ray : Newsgroups : povray.unofficial.patches : PP focal blur Q : Re: PP focal blur Q Server Time
8 Jul 2024 16:20:51 EDT (-0400)
  Re: PP focal blur Q  
From: Patrick Dugan
Date: 10 Sep 2001 16:17:29
Message: <3b9d1fd9$1@news.povray.org>
I didn't mean to steal your question. I feel it is not being addressed
though.  I ran some experiments using small spheres on a checkered floor
that vary in distance from the camera.  I made the focal blur very tight and
very blurry (extreme short range of focus.)  from the focal center out (away
from the camera) the blur hits hard and fast, towards the camera (despite
being a good distance from the focal center) is all in focus.  The docs seem
to indicate "field_depth specifies the length of the focal range.  All
objects within the range of (field_start) to (field_start+field_depth) will
be fully in focus. " to me means objects close to the camera would also
become blurry when they are out of the range.  Testing shows this is not
true.

Here is the code I used:

////////////////////////////////////////////// CODE START
////////////////////////////////////////
#include "colors.inc"
#include "textures.inc"

#version unofficial MegaPov 0.7;
global_settings {
   assumed_gamma 2.2
   max_trace_level 25
   post_process{focal_blur{ 5, 0.010, 5,5 }}
}

light_source {<-80, 800, -80> color White * 1}

camera {
   location <0,0.75,-5>
   look_at  <0,0,0>
}

#declare CheckMe =
   texture {
      tiles {
         texture {
            pigment {Black
            }
         }
         tile2
         texture {
            pigment {White
            }
         }
      }
   }



#declare Board =
   box { <-32, -1, -32> <32, 0, 32>
      texture {CheckMe}
      hollow
   }


object {Board}

sphere {<0,0,0>, 1 scale 0.3 texture {CheckMe} translate < 2.0,0.5, 2.0>}
sphere {<0,0,0>, 1 scale 0.3 texture {CheckMe} translate < 1.5,0.5, 1.5>}
sphere {<0,0,0>, 1 scale 0.3 texture {CheckMe} translate < 1.0,0.5, 1.0>}
sphere {<0,0,0>, 1 scale 0.3 texture {CheckMe} translate < 0.5,0.5, 0.5>}
sphere {<0,0,0>, 1 scale 0.3 texture {CheckMe} translate < 0.0,0.5, 0.0>}
sphere {<0,0,0>, 1 scale 0.3 texture {CheckMe} translate <-0.5,0.5,-0.5>}
sphere {<0,0,0>, 1 scale 0.3 texture {CheckMe} translate <-1.0,0.5,-1.0>}
sphere {<0,0,0>, 1 scale 0.3 texture {CheckMe} translate <-1.5,0.5,-1.5>}
sphere {<0,0,0>, 1 scale 0.3 texture {CheckMe} translate <-2.0,0.5,-2.0>}

//////////////////////////////////////////////////////////////// END OF CODE
/////////////////////////



I have emailed Nathan Kopp about the second issue but I have not heard back
from him yet.  I assume he may be quite busy with povray 3.5 beta at this
point.



"Andy Cocker" <big### [at] mariner9fsnetcouk> wrote in message
news:3b9cf843@news.povray.org...
> Any chance I could get an answer to my original question please, or is
> everyone 3.5 mad at the moment? ;-)
>
> Andy Cocker
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.